package static关键字;

public class Manager {//定义一个经理类
    String name;
    int age;
    static String work;
    public void show(){
        System.out.println("姓名："+name+","+"年龄："+age+","+"工作："+work);
    }
    static public void duty(){
        System.out.println("经理负责管理整个部门！");
    }
}
